package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2023/12/15 17:57
 * @description:
 */
public class PreListApi implements IRequestApi {
    private String train_type;
    private String sentry_id;
    private String region_id;
    private Integer page;
    private Integer pageSzie;

    public PreListApi setPage(Integer page) {
        this.page = page;
        return this;
    }

    public PreListApi setPageSzie(Integer pageSzie) {
        this.pageSzie = pageSzie;
        return this;
    }

    public PreListApi setTrain_type(String train_type) {
        this.train_type = train_type;
        return this;
    }

    public PreListApi setSentry_id(String sentry_id) {
        this.sentry_id = sentry_id;
        return this;
    }

    public PreListApi setRegion_id(String region_id) {
        this.region_id = region_id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/mech/v3/Plan/trainingPlanList";
    }
    public static class Bean{

        private Integer id;
        private String teach_name;
        private Integer start_class_time;
        private Integer end_class_time;
        private Integer type;
        private Integer is_show;
        private String mech_name;
        private Integer region_id;
        private Integer is_online_sign_up;
        private String photo;
        private Integer show_money;
        private String urgent_mobile;
        private String school_address;
        private String class_time;
        private Integer plan_type;
        private String ios_money;
        private String android_money;
        private List<LabelDTO> label;
        private Integer isOpenSignUp;
        private Integer day;
        private String region_name;
        private Integer sign_status;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getTeach_name() {
            return teach_name;
        }

        public void setTeach_name(String teach_name) {
            this.teach_name = teach_name;
        }

        public Integer getStart_class_time() {
            return start_class_time;
        }

        public void setStart_class_time(Integer start_class_time) {
            this.start_class_time = start_class_time;
        }

        public Integer getEnd_class_time() {
            return end_class_time;
        }

        public void setEnd_class_time(Integer end_class_time) {
            this.end_class_time = end_class_time;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public Integer getIs_show() {
            return is_show;
        }

        public void setIs_show(Integer is_show) {
            this.is_show = is_show;
        }

        public String getMech_name() {
            return mech_name;
        }

        public void setMech_name(String mech_name) {
            this.mech_name = mech_name;
        }

        public Integer getRegion_id() {
            return region_id;
        }

        public void setRegion_id(Integer region_id) {
            this.region_id = region_id;
        }

        public Integer getIs_online_sign_up() {
            return is_online_sign_up;
        }

        public void setIs_online_sign_up(Integer is_online_sign_up) {
            this.is_online_sign_up = is_online_sign_up;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public Integer getShow_money() {
            return show_money;
        }

        public void setShow_money(Integer show_money) {
            this.show_money = show_money;
        }

        public String getUrgent_mobile() {
            return urgent_mobile;
        }

        public void setUrgent_mobile(String urgent_mobile) {
            this.urgent_mobile = urgent_mobile;
        }

        public String getSchool_address() {
            return school_address;
        }

        public void setSchool_address(String school_address) {
            this.school_address = school_address;
        }

        public String getClass_time() {
            return class_time;
        }

        public void setClass_time(String class_time) {
            this.class_time = class_time;
        }

        public Integer getPlan_type() {
            return plan_type;
        }

        public void setPlan_type(Integer plan_type) {
            this.plan_type = plan_type;
        }

        public String getIos_money() {
            return ios_money;
        }

        public void setIos_money(String ios_money) {
            this.ios_money = ios_money;
        }

        public String getAndroid_money() {
            return android_money;
        }

        public void setAndroid_money(String android_money) {
            this.android_money = android_money;
        }

        public List<LabelDTO> getLabel() {
            return label;
        }

        public void setLabel(List<LabelDTO> label) {
            this.label = label;
        }

        public Integer getIsOpenSignUp() {
            return isOpenSignUp;
        }

        public void setIsOpenSignUp(Integer isOpenSignUp) {
            this.isOpenSignUp = isOpenSignUp;
        }

        public Integer getDay() {
            return day;
        }

        public void setDay(Integer day) {
            this.day = day;
        }

        public String getRegion_name() {
            return region_name;
        }

        public void setRegion_name(String region_name) {
            this.region_name = region_name;
        }

        public Integer getSign_status() {
            return sign_status;
        }

        public void setSign_status(Integer sign_status) {
            this.sign_status = sign_status;
        }

        public static class LabelDTO {
            private String text;
            private String bgColor;
            private String color;

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getBgColor() {
                return bgColor;
            }

            public void setBgColor(String bgColor) {
                this.bgColor = bgColor;
            }

            public String getColor() {
                return color;
            }

            public void setColor(String color) {
                this.color = color;
            }
        }
    }
}
